package com.utooo.service.purchase;

import com.baomidou.mybatisplus.extension.service.IService;
import com.utooo.pojo.domain.purchase.contract.PurchaseContractDO;
import com.utooo.pojo.dto.purchase.contract.PurchaseContractDTO;
import com.utooo.pojo.dto.purchase.order.PurchaseOrderDTO;
import com.utooo.pojo.vo.purchase.contract.PurchaseContractVO;

import java.util.List;

public interface PurchaseContractService extends IService<PurchaseContractDO> {
    Boolean addContract(PurchaseContractDTO purchaseContractDTO);

    List<PurchaseContractVO> getRelatedContracts(String supplierId, String companyId);

}